﻿using CKS2320.Common.Model;
using CKS2320.Domain.DBEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CKS2320.Repository.Interface
{
    public interface IShapeRepository
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="shape"></param>
        /// <param name="detailList"></param>
        /// <returns></returns>
        ResultReturn Add(Shape shape, List<Detectiondetail> detailList);
        /// <summary>
        /// 根据partcode获取列表信息
        /// </summary>
        /// <param name="partCode"></param>
        /// <returns></returns>
        IEnumerable<Shape> GetByPartCode(string partCode);

        ResultReturn AddOP10(Op10coredata model);
    }
}
